<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../lib/jquery/jquery.js"></script>
</head>
<body>
    <div>
        <h5>任务模型ID</h5>
        <input type="text" id="modelId" value="5d7dd0a67836c93cabb72193">
        <h5>贷款账号</h5>
        <input type="text" id="loanAccount" value="30010000011652377">

        <button type="button">打开发布页面</button>
    </div>
</body>
</html>
<script>
    $("button").click(function () {
        var mid =  $("#modelId").val().trim();
        var la =  $("#loanAccount").val().trim();
        window.open("./ins.pub.html?type=pub&id=" + mid + "&loanAccount=" + la, "dealtask", "left=100, top=100, width=800, height=600");
    });
</script>